home *** CD-ROM | disk | FTP | other *** search
-
- /* if invoked by rc.exe, we need to define the various window/ctrl */
- /* styles needed by our script */
-
- #ifndef WORKSHOP_INVOKED
-
- #include "stddef.rh"
-
- #endif
-
-
- #include "gadgets.rh"
- #include "moddos.rh"
- #include "dlgprog.rh"
- #include "selcomps.rh"
- #include "dlgaow.rh"
- #include "prmptstr.rh"
- #include "askuser.rh"
-
-
- DLGMSGDLG DIALOG PRELOAD MOVEABLE DISCARDABLE 81, 75, 257, 52
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- FONT 9, "helv"
- BEGIN
- ICON "ICONFINSTALL", -1, 5,7,18,20
- CONTROL "Message", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 29,3,203,41
- CONTROL "", 101, "STATIC", SS_CENTER | SS_NOPREFIX, 35,13,191,25
- END
-
- DLGSELCOMPS DIALOG 50, 46, 258, 209
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "Select Components To Install"
- FONT 9, "helv"
- {
- LTEXT "Option Tree will be here", d10opttreepos, 11,10,121,168, SS_NOPREFIX | WS_BORDER
- GROUPBOX "Description", -1, 142,6,106,76, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
- LTEXT "", d10desc, 147,18,96,58, SS_LEFT | SS_NOPREFIX | WS_CHILD | WS_VISIBLE | WS_GROUP
- LTEXT "Disk space required:", -1, 142,86,106,8
- EDITTEXT d10needed, 142,96,106,12, ES_READONLY
- CONTROL "", d10percent, "Static", SS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_BORDER, 142,117,106,
- 11
- LTEXT "0 K", -1, 142,130,16,8
- RTEXT "1000 K", d10total, 220,130,28,8
- GROUPBOX "Disk space available", -1, 142,144,106,34, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
- COMBOBOX d10drv, 147,159,41,42, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
- EDITTEXT d10avail, 193,159,50,12, ES_READONLY
- DEFPUSHBUTTON "&OK", IDOK, 11,186,30,14
- PUSHBUTTON "&Cancel", IDCANCEL, 57,186,30,14
- PUSHBUTTON "&Help", d10help, 102,186,30,14
- }
-
- DLGPROG DIALOG PRELOAD MOVEABLE DISCARDABLE 90, 77, 206, 86
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "Progress"
- FONT 9, "helv"
- {
- LTEXT "", d17txt1, 5,5,197,8, SS_NOPREFIX
- LTEXT "", d17txt2, 5,16,197,8, SS_NOPREFIX
- LTEXT "", d17txt3, 5,27,197,8, SS_NOPREFIX
- ICON "", d17icon, 5,39,18,20
- CONTROL "Progress bar", d17progbar, "Static", SS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP, 31,42,154,14
- DEFPUSHBUTTON "&Cancel", 2, 90,66,35,14
- }
-
- DLGAOW DIALOG PRELOAD MOVEABLE DISCARDABLE 53, 65, 292, 182
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "File Attribute Incompatible"
- FONT 9, "helv"
- {
- GROUPBOX "Source file", -1, 10,8,116,166, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
- LTEXT "Path", -1, 16,20,103,8
- LTEXT "", d16srcpath, 16,28,103,12, WS_BORDER
- LTEXT "Type", -1, 16,44,103,8
- LTEXT "", d16srcprmtype, 16,53,103,12, WS_BORDER
- LTEXT "Subtype", -1, 16,71,103,8
- LTEXT "", d16srcsubtype, 16,80,103,12, WS_BORDER
- LTEXT "Language", -1, 16,95,103,8
- LTEXT "", d16srclang, 16,104,103,12, WS_BORDER
- LTEXT "Character set", -1, 16,120,103,8
- LTEXT "", d16srccset, 16,129,103,12, WS_BORDER
- LTEXT "Version", -1, 16,145,103,8
- LTEXT "", d16srcver, 16,154,103,12, WS_BORDER
- GROUPBOX "Target file", -1, 132,8,116,166, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
- LTEXT "Path", -1, 139,20,103,8
- EDITTEXT d16dstpath, 139,28,103,12, ES_AUTOHSCROLL
- LTEXT "Type", -1, 139,44,103,8
- LTEXT "", d16dstprmtype, 139,53,103,12, WS_BORDER
- LTEXT "Subtype", -1, 139,71,103,8
- LTEXT "", d16dstsubtype, 139,80,103,12, WS_BORDER
- LTEXT "Language", -1, 139,95,103,8
- LTEXT "", d16dstlang, 139,104,103,12, WS_BORDER
- LTEXT "Character set", -1, 139,120,103,8
- LTEXT "", d16dstcset, 139,129,103,12, WS_BORDER
- LTEXT "Version", -1, 139,145,103,8
- LTEXT "", d16dstver, 139,154,103,12, WS_BORDER
- DEFPUSHBUTTON "&Copy", IDOK, 254,11,32,14
- PUSHBUTTON "&Skip", IDCANCEL, 254,35,32,14
- PUSHBUTTON "&Help", d16help, 254,59,32,14
- }
-
- DLGMSGBOX0 DIALOG PRELOAD MOVEABLE DISCARDABLE 46, 92, 280, 66
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- FONT 9, "helv"
- {
- ICON "", 101, 5, 7, 18, 20, SS_ICON | WS_CHILD | NOT WS_VISIBLE
- GROUPBOX "Message", -1, 27, 3, 226, 55, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
- CTEXT "", 102, 32, 13, 217, 40, SS_CENTER | SS_NOPREFIX | WS_CHILD | WS_VISIBLE
- }
-
- DLGMSGBOX1 DIALOG PRELOAD MOVEABLE DISCARDABLE 44, 94, 280, 87
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- FONT 9, "helv"
- BEGIN
- CONTROL "", 101, "STATIC", SS_ICON | WS_CHILD | NOT WS_VISIBLE, 5, 7, 18, 20
- CONTROL "Message", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 27, 3, 226, 55
- CONTROL "", 102, "STATIC", SS_CENTER | SS_NOPREFIX | WS_CHILD | WS_VISIBLE, 32, 13, 217, 40
- DEFPUSHBUTTON "btn1", 103, 117, 65, 46, 14
- END
-
- DLGMSGBOX2 DIALOG PRELOAD MOVEABLE DISCARDABLE 81, 75, 280, 87
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- FONT 9, "helv"
- BEGIN
- CONTROL "", 101, "STATIC", SS_ICON | WS_CHILD | NOT WS_VISIBLE, 5, 7, 18, 20
- CONTROL "Message", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 27, 3, 226, 55
- CONTROL "", 102, "STATIC", SS_CENTER | SS_NOPREFIX | WS_CHILD | WS_VISIBLE, 32, 13, 217, 40
- DEFPUSHBUTTON "btn1", 103, 70, 65, 46, 14
- PUSHBUTTON "btn2", 104, 163, 65, 46, 14
- END
-
- DLGMSGBOX3 DIALOG PRELOAD MOVEABLE DISCARDABLE 81, 75, 280, 87
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- FONT 9, "helv"
- BEGIN
- CONTROL "", 101, "STATIC", SS_ICON | WS_CHILD | NOT WS_VISIBLE, 5, 7, 18, 20
- CONTROL "Message", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 27, 3, 226, 55
- CONTROL "", 102, "STATIC", SS_CENTER | SS_NOPREFIX | WS_CHILD | WS_VISIBLE, 32, 13, 217, 40
- DEFPUSHBUTTON "btn1", 103, 51, 65, 53, 14
- PUSHBUTTON "btn2", 104, 113, 65, 53, 14
- PUSHBUTTON "btn3", 105, 175, 65, 53, 14
- END
-
- DLGMSGBOX4 DIALOG PRELOAD MOVEABLE DISCARDABLE 81, 75, 280, 87
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- FONT 9, "helv"
- BEGIN
- CONTROL "", 101, "STATIC", SS_ICON | WS_CHILD | NOT WS_VISIBLE, 5, 7, 18, 20
- CONTROL "Message", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 27, 3, 226, 55
- CONTROL "", 102, "STATIC", SS_CENTER | SS_NOPREFIX | WS_CHILD | WS_VISIBLE, 32, 13, 217, 40
- DEFPUSHBUTTON "btn1", 103, 38, 65, 46, 14
- PUSHBUTTON "btn2", 104, 91, 65, 46, 14
- PUSHBUTTON "btn3", 105, 142, 65, 46, 14
- PUSHBUTTON "btn4", 106, 195, 65, 46, 14
- END
-
- DLGPROMPTSTR DIALOG 52, 96, 276, 86
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- FONT 9, "helv"
- {
- ICON "ICONFINSTALL", -1, 4,8,18,20
- GROUPBOX "Message", -1, 26, 4, 203, 53, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
- CONTROL "", d01prm, "STATIC", SS_CENTER | SS_NOPREFIX | WS_GROUP, 31, 16, 194, 36
- EDITTEXT d01str, 26, 64, 203, 12, ES_AUTOHSCROLL
- DEFPUSHBUTTON "&OK", IDOK, 237, 8, 32, 14
- PUSHBUTTON "&Cancel", IDCANCEL, 237, 35, 32, 14
- PUSHBUTTON "&Help", d01help, 237, 62, 32, 14
- }
-
- DLGASKUSER DIALOG 67, 66, 218, 96
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "User Information"
- FONT 9, "helv"
- {
- GROUPBOX "Message", -1, 10,4,156,47, BS_GROUPBOX | WS_CHILD | WS_VISIBLE
- CONTROL "", d02prmt, "STATIC", SS_NOPREFIX | WS_GROUP, 18,18,144,29
- LTEXT "User name:", -1, 10,62,54,8
- EDITTEXT d02user, 67,59,99,12
- LTEXT "Company name:", -1, 10,77,54,8
- EDITTEXT d02comp, 67,76,99,12
- DEFPUSHBUTTON "&OK", IDOK, 177,8,31,14
- PUSHBUTTON "&Cancel", IDCANCEL, 177,32,31,14
- PUSHBUTTON "&Help", d02help, 177,56,31,14
- }
-
- DLGDOSINFORM DIALOG DISCARDABLE 20, 72, 345, 176
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "DOS System File Modifications"
- FONT 9, "helv"
- BEGIN
- LTEXT "Original:",-1,8,7,29,8
- EDITTEXT d03srcls,8,18,154,108,ES_MULTILINE | ES_AUTOVSCROLL |
- ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | WS_HSCROLL |
- 0x1000
- LTEXT "Proposed:",-1,184,7,36,8
- EDITTEXT d03dstls,184,18,154,108,ES_MULTILINE | ES_AUTOVSCROLL |
- ES_AUTOHSCROLL | WS_VSCROLL | WS_HSCROLL | 0x1000
- SCROLLBAR d03scroll,168,18,9,98,SBS_VERT
- LTEXT "Backup as:",-1,8,133,41,8
- EDITTEXT d03bkpath,50,132,112,12,ES_AUTOHSCROLL
- DEFPUSHBUTTON "&Save",IDOK,8,153,45,14
- PUSHBUTTON "&Don't Save",IDCANCEL,63,153,45,14
- PUSHBUTTON "&Help",d03help,117,153,45,14
- END
-
- DLGGAUGE DIALOG DISCARDABLE 69, 15, 39, 144
- STYLE WS_POPUP | WS_CLIPCHILDREN | WS_DLGFRAME
- FONT 9, "helv"
- BEGIN
- CTEXT "0%",d08ram,5,5,11,117,WS_BORDER
- CTEXT "0%",d08cpu,23,5,11,117,WS_BORDER
- CTEXT "RAM",-1,1,128,19,8
- CTEXT "CPU",-1,20,128,18,8
- END
-
-
- //////////////////////////////////////////////////////////////////////////////
- //
- // Icon
- //
-
- ICONFINSTALL ICON DISCARDABLE "FINSTALL.ICO"
- ICONHARDDISK ICON PRELOAD DISCARDABLE "ICONHARD.ICO"
- ICONSETUP ICON PRELOAD DISCARDABLE "ICONSETU.ICO"
-
- //////////////////////////////////////////////////////////////////////////////
- //
- // Bitmap
- //
-
- BMEXITUP BITMAP MOVEABLE PURE "EXITUP.BMP"
- BMEXITDN BITMAP MOVEABLE PURE "EXITDN.BMP"
- BMHELPUP BITMAP MOVEABLE PURE "HELPUP.BMP"
- BMHELPDN BITMAP MOVEABLE PURE "HELPDN.BMP"
- BMMINZUP BITMAP MOVEABLE PURE "MINZUP.BMP"
- BMMINZDN BITMAP MOVEABLE PURE "MINZDN.BMP"
- STRINGTABLE
- BEGIN
- 1, "Usage:fimain [install source dir]"
- 2, "install.inf or setup.inf not found"
- 3, "%s contains bad data"
- 4, "Unable to evaluate integer expression %s"
- 5, "Bad variable name in expression %s"
- 6, "Unknown variable %s in expression %s"
- 7, "A piece of C++ user code is being skipped"
- 8, "Skipping User Code"
- 9, "Unable to convert %s to integer"
- 10, "Invalid path"
- 11, "Simply follow the instructions in the program!"
- 12, "Help"
- 13, "This product is registered to the user shown below"
- 14, "Thank you for choosing this product!!!\n\nPlease enter your name below"
- 15, "User name must be at least 4 characters long"
- 16, "Only ascii characters are allowed"
- 17, "install.exe has invalid user info"
- 18, "Unable to open the dialog"
- 19, "application program"
- 20, "dynamic-link library"
- 21, "device driver"
- 22, "font"
- 23, "virtual device driver"
- 24, "static-link library"
- 25, "unknown"
- 26, "communication"
- 27, "printer"
- 28, "keyboard"
- 29, "language"
- 30, "display"
- 31, "mouse"
- 32, "network"
- 33, "system"
- 34, "installable"
- 35, "sound"
- 36, "Copying: %d%%"
- 37, "Unable to create the install info object"
- 38, "Unable to initialize the operation recorder"
- 39, "Unable to create the context sensitive help obj"
- 40, "Unable to create the background window"
- 41, "Copying: 0%%"
- 42, "Unable to create the icon window"
- 43, "Setting/creating INI entries..."
- 44, "Setting/creating registration keys..."
- 45, "Unable to construct the progress dialog box"
- 46, "Decompressing %s"
- 47, "Copying %s"
- 48, "From %s"
- 49, "To %s"
- 50, "Renaming %s"
- 51, "Deleting %s"
- 52, "File: %s"
- 53, "Backing up %s"
- 54, "%s is being backed up as %s"
- 55, "Backup"
- 56, "%s has been backed up as %s"
- 57, "Creating program items..."
- 58, "&Install"
- 59, "&Don't Install"
- 60, "Welcome"
- 61, "Congratulations!\n%s has been installed successfully"
- 62, "%s has been installed successfully\nbut we need to restart\nWindows for the changes to take effect"
- 63, "&Restart"
- 64, "&Stay here"
- 65, "%s has been installed successfully\nbut we need to restart\nDOS for the changes to take effect"
- 66, "Installation Completed"
- 67, "&Yes"
- 68, "&No"
- 69, "&Cancel"
- 70, "Query"
- 71, "Installation is incomplete\nAre you sure you want to abort the installation?"
- 72, "Query Abort"
- 73, "Searching for %s..."
- 74, "Please insert disk: %s"
- 75, "Insert Disk"
- 76, "&OK"
- 77, "&Cancel"
- 78, "&Yes"
- 79, "&No"
- 80, "&Retry"
- 81, "Error"
- 82, "&Help"
- 83, "Unable to get the directory of the path"
- 84, "Unable to compare the version statement"
- 85, "Unable to compare the files"
- 86, "Unable to get the time stamp of %s"
- 87, "Unable to set the time stamp of %s"
- 88, "Unable to get the file attributes of %s"
- 89, "Unable to set the file attributes of %s"
- 90, "Unable to get the free space of drive %s"
- 91, "%g K free disk space required but you only have %g K"
- 92, "Unable to create registration key %s"
- 93, "Unable to set or create registration key %s"
- 94, "Unable to delete registration key %s"
- 95, "Unable to delete file %s"
- 96, "Unable to rename file from %s to %s"
- 97, "Unable to open file %s"
- 98, "Unable to read from file %s"
- 99, "Unable to write to file %s"
- 100, "Unable to copy %s to %s"
- 101, "Unable to create dir %s"
- 102, "Unable to create file %s"
- 103, "Unable to close file %s"
- 104, "File %s not found"
- 105, "The path %s is invalid"
- 106, "Unable to open registration key %s"
- 107, "Unable to set INI entry %s in file %s"
- 108, "Unable to add INI section %s in file %s"
- 109, "Unable to delete INI section %s in file %s"
- 110, "Unable to insert INI entry %s"
- 111, "Unable to set INI entry %s"
- 112, "Unable to delete INI entry %s"
- 113, "Unable to initiate the DDE library"
- 114, "Unable to connect to Program Manager"
- 115, "Unable to execute Program Manager"
- 116, "begddepm() has not been called"
- 117, "Unable to create group %s"
- 118, "Unable to show group %s"
- 119, "Unable to create PM item %s"
- 120, "Unable to delete PM item %s"
- 121, "Unable to delete group %s"
- 122, "Unable to install font"
- 123, "Enter %s"
- 124, "Directory"
- 125, "String"
- 126, "%lu K free space required but you only have %lu K\n\nContinue anyway?"
- 127, "The dir is invalid"
- 128, "&No"
- 129, "&Yes"
- 130, "Space Not Enough"
- END
-